%@ page language=java contentType=texthtml; charset=UTF-8 pageEncoding=UTF-8%
%
    String address = request.getParameter(address);
    String phone = request.getParameter(phone);
    if (address == null  phone == null  address.isEmpty()  phone.isEmpty()) {
        response.sendRedirect(shop.jsp);
    } else {
        session.setAttribute(address, address);
        session.setAttribute(phone, phone);
        response.sendRedirect(shop.jsp);
    }
%